﻿<UserControl x:Class="Noboru.Demo.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Demo="clr-namespace:Noboru.Demo"
    xmlns:c="clr-namespace:Noboru.Windows.Controls;assembly=Noboru.Windows.Controls"
             mc:Ignorable="d">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <StackPanel Orientation="Vertical">
            <Border Width="Auto" Height="26" BorderThickness="1,1,1,1" BorderBrush="#FF000000" VerticalAlignment="Center" Padding="0,0,0,0" Margin="0,0,0,2">
                <Border.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#FF000000" Offset="1"/>
                        <GradientStop Color="#FFB3AFAF" Offset="0.003"/>
                    </LinearGradientBrush>
                </Border.Background>
                <TextBlock Text="Demo" Foreground="White"  VerticalAlignment="Center" HorizontalAlignment="Left" Margin="6,0,0,0"/>
            </Border>
            <c:ToolStripLabel Name="toolStripLabelDialogControl" Text="Dialog Control" HorizontalAlignment="Stretch" IsChecked="True" Click="toolStripLabelDialogControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelDialogClass" Text="Dialog Control Class" HorizontalAlignment="Stretch" Click="toolStripLabelDialogClass_Click" />
            <c:ToolStripLabel Name="toolStripLabelGlowControl" Text="Glow Control" HorizontalAlignment="Stretch" Click="toolStripLabelGlowControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelGroupBoxControl" Text="Group Box Control" HorizontalAlignment="Stretch" Click="toolStripLabelGroupBoxControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelGroupControl" Text="Group Control" HorizontalAlignment="Stretch" Click="toolStripLabelGroupControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelMessageBoxClass" Text="Message Box Class" HorizontalAlignment="Stretch" Click="toolStripLabelMessageBoxClass_Click" />
            <c:ToolStripLabel Name="toolStripLabelMessageBoxControl" Text="Message Box Control" HorizontalAlignment="Stretch" Click="toolStripLabelMessageBoxControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelShadowControl" Text="Shadow Control" HorizontalAlignment="Stretch" Click="toolStripLabelShadowControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelToolStripButtonControl" Text="Tool Strip Button Control" HorizontalAlignment="Stretch" Click="toolStripLabelToolStripButtonControl_Click" />
            <c:ToolStripLabel Name="toolStripLabelToolStripLabelControl" Text="Tool Strip Label Control" HorizontalAlignment="Stretch" Click="toolStripLabelToolStripLabelControl_Click" />
        </StackPanel>
        
        <Border Grid.Column= "1" Width="6" BorderThickness="1,1,1,1" BorderBrush="#FF000000">
            <Border.Background>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FF000000" Offset="1"/>
                    <GradientStop Color="#FFB3AFAF"/>
                </LinearGradientBrush>
            </Border.Background>
        </Border>

        <Demo:ToolStripLabelControlPage x:Name="ToolStripLabelControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:ToolStripButtonControlPage x:Name="ToolStripButtonControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:ShadowControlPage x:Name="ShadowControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:MessageBoxControlPage x:Name="MessageBoxControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:MessageBoxClassPage x:Name="MessageBoxClassPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:GroupControlPage x:Name="GroupControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:GroupBoxControlPage x:Name="GroupBoxControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:GlowControlPage x:Name="GlowControlPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:DialogControlClassPage x:Name="DialogControlClassPage" Grid.Column="2" Visibility="Collapsed" />
        <Demo:DialogControlPage x:Name="DialogControlPage" Grid.Column="2" />
    </Grid>
</UserControl>
